package top.zhangjianyong.tools.service.mybatis.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import top.zhangjianyong.tools.entity.marirui.JJGK;
import top.zhangjianyong.tools.mapper.JJGKMapper;
import top.zhangjianyong.tools.service.mybatis.IJJGKService;

/**
 * @author ： zhangjianyong
 * @date ： 2022/10/13 10:24 AM
 */
@Service
public class IJJGKServiceImpl extends ServiceImpl<JJGKMapper, JJGK> implements IJJGKService {

    @Override
    public JJGK qryOneByDm(String dm) {
        return lambdaQuery().eq(JJGK::getDm, dm).one();
    }
}
